﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Program07
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("第三年第一个月，共有：" + Bunny(25));
            Console.ReadLine();
        }
        /// <summary>
        /// 递归
        /// </summary>
        /// <param name="n"></param>
        /// <returns></returns>
        public static int Bunny(int n)
        {
            if (n == 1 || n == 2)
            {
                return 1;
            }
            else
            {
                return Bunny(n - 1) + Bunny(n - 2);
            }
        }
    }
}
